import 'package:safetymonitor/generated/json/base/json_field.dart';
import 'package:safetymonitor/generated/json/schdule_info_create_entity.g.dart';
import 'dart:convert';
export 'package:safetymonitor/generated/json/schdule_info_create_entity.g.dart';

@JsonSerializable()
class SchduleInfoCreateEntity {
	int? dutyType;
	int? scheduleConfigId;
	String? dutyRoomLandline = '';
	String? scheduleName = '';
	String? dutyStartDate = '';
	String? dutyEndDate = '';
	int? dutyPersonId;
	String? dutyPerson = '';
	dynamic personScheduleType;
	String? personScheduleTypeCode = '';
	String? dutyPersonPhone = '';
	int? dutyLeaderId;
	String? dutyLeader = '';
	dynamic leaderScheduleType;
	String? leaderScheduleTypeCode = '';
	String? dutyLeaderPhone = '';

	SchduleInfoCreateEntity();

	factory SchduleInfoCreateEntity.fromJson(Map<String, dynamic> json) => $SchduleInfoCreateEntityFromJson(json);

	Map<String, dynamic> toJson() => $SchduleInfoCreateEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}